package com.xz.disk.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description
 * @PACKAGE_NAME: cn.xz.buildclient.controller
 * @NAME: ViewController [Java]
 * @author：ASUS 肖舟 XiaoZhou
 * @datetime 创建于： 2020/7/9 20:00 星期四
 */
@Controller
public class ViewController {

    @GetMapping("/{path}.html")
    public String view(@PathVariable("path")String path){
        System.out.println(path);
        return path;
    }

}
